# i = 1
# while i <= 5:
#     print("上班星期为:",i)
#     i = i + 1
#     t = 9
#     while t <= 17:
#         print("时间段:", t, end=" ")
#         t = t + 1

# for i in range(1 , 6):
#     print("上班为周:", i)
#     for t in range(9,18):
#         print("时间段为:", t, end=" ")
#         print( )

i = 1
while i < 10:
    j = 1
    while j <= i:
        print("%d*%d =%d"%(j,i,j*i), end="  ")
        j += 1
    print(" ")
    i += 1
